﻿using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace Ny.Ci.Core.Points
{
    /// <summary>
    /// 用户积分表
    /// </summary>
    public class UserPoints : Entity<Guid>, IHasCreationTime, IHasModificationTime, ISoftDelete, IHasDeletionTime
    {
        /// <summary>
        /// 历史总积分
        /// </summary>
        [Required]
        public virtual int PointAll { set; get; }
        /// <summary>
        /// 现有积分
        /// </summary>
        [Required]
        public virtual int PointCurrent{ set; get; }
        /// <summary>
        /// 积分所属人员id
        /// </summary>
        [Required]
        public virtual int UserID { set; get; }
        /// <summary>
        /// 积分所属人员名
        /// </summary>
        [Required]
        public virtual int UserName { set; get; }
        public DateTime CreationTime { get => throw new NotImplementedException(); set => throw new NotImplementedException(); }
        public DateTime? LastModificationTime { get => throw new NotImplementedException(); set => throw new NotImplementedException(); }
        public bool IsDeleted { get => throw new NotImplementedException(); set => throw new NotImplementedException(); }
        public DateTime? DeletionTime { get => throw new NotImplementedException(); set => throw new NotImplementedException(); }
    }
}
